/*
 * Tickable.h
 *
 *  Created on: 2009/01/12
 *      Author: elecgon
 */

#ifndef TICKABLE_H_
#define TICKABLE_H_

#include "../core/ISmartPtr.h"

#ifndef EVENTDISPATCHER_H_
#	include "../EventDispatcher.h"
#endif

class Tickable : public ISmartPtr<Tickable>, public EventDispatcher
{
public:
	Tickable();
	virtual ~Tickable();

public:
	void reset();
	virtual void tick(const uint32 elapsed);

public:
	uint32 mLastTime;
};

#endif /* TICKABLE_H_ */
